package com.woniu.cms.auth.core.mapper;

import com.woniu.cms.auth.core.entity.Position;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.cms.auth.core.vo.PositionVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lilili
 * @since 2022-09-16
 */
public interface PositionMapper extends BaseMapper<Position> {

    List<PositionVo> getAll();

    List<String> getUserByPositionName(String name);

    List<Integer> getUserIdByPositionName(String name);
}
